package com.douleka.curd.service;

import com.douleka.curd.entity.Announcement;
import com.baomidou.mybatisplus.extension.service.IService;
import com.douleka.curd.utils.Result;

/**
 * <p>
 * 公告表 服务类
 * </p>
 *
 * @author hg
 * @since 2024-03-18
 */
public interface IAnnouncementService extends IService<Announcement> {
     Result<Object> get(Integer curr, Integer pageSize, String title, Integer type, Integer readers);
     Result<Object> add(Announcement announcement);
     Result<Object> delete(Integer id);
     Result<Object> update(Announcement announcement);
}
